package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2024/3/15 11:25
 * @Describe    :
 */
@Parcelize
class IdCardInfoResponse(

    var words_result: WordResultBean? = null,
    var words_result_num: Int = 0,
    var idcard_number_type: Int = 0,
    var image_status: String = "",
    var log_id: Int = 0

) : Parcelable {

    @Parcelize
    class WordResultBean(

        var 姓名: NameBean? = null,
        var 民族: NationBean? = null,
        var 住址: AddressBean? = null,
        var 公民身份号码: IdNumBean? = null,
        var 出生: BirthdayBean? = null,
        var 性别: SexBean? = null,

        ) : Parcelable {

        @Parcelize
        class SexBean(

            var words: String = "",
            var location: LocationBean? = null

        ) : Parcelable {

            @Parcelize
            class LocationBean(

                var top: Int = 0,
                var left: Int = 0,
                var width: Int = 0,
                var height: Int = 0,

                ) : Parcelable
        }

        @Parcelize
        class BirthdayBean(

            var words: String = "",
            var location: LocationBean? = null

        ) : Parcelable {

            @Parcelize
            class LocationBean(

                var top: Int = 0,
                var left: Int = 0,
                var width: Int = 0,
                var height: Int = 0,

                ) : Parcelable
        }

        @Parcelize
        class IdNumBean(

            var words: String = "",
            var location: LocationBean? = null

        ) : Parcelable {

            @Parcelize
            class LocationBean(

                var top: Int = 0,
                var left: Int = 0,
                var width: Int = 0,
                var height: Int = 0,

                ) : Parcelable
        }

        @Parcelize
        class AddressBean(

            var words: String = "",
            var location: LocationBean? = null

        ) : Parcelable {

            @Parcelize
            class LocationBean(

                var top: Int = 0,
                var left: Int = 0,
                var width: Int = 0,
                var height: Int = 0,

                ) : Parcelable
        }

        @Parcelize
        class NationBean(

            var words: String = "",
            var location: LocationBean? = null

        ) : Parcelable {

            @Parcelize
            class LocationBean(

                var top: Int = 0,
                var left: Int = 0,
                var width: Int = 0,
                var height: Int = 0,

                ) : Parcelable
        }

        @Parcelize
        class NameBean(

            var words: String = "",
            var location: LocationBean? = null

        ) : Parcelable {

            @Parcelize
            class LocationBean(

                var top: Int = 0,
                var left: Int = 0,
                var width: Int = 0,
                var height: Int = 0,

                ) : Parcelable
        }

    }

}